--[[

LysKitty Globals File

Includes any translations needed.

]]

-- Addon Global Variables
LK_VERSION		= "0.2";
LK_NAME			= "Lysidia's Kitty Chat";
LK_LOADED		= LK_NAME..", Version "..LK_VERSION.." now loaded.";

-- Chat Commands
LK_SLASH1		= "/lyskitty";
LK_SLASH2		= "/lkc";

LK_SAY			= string.lower(SAY);
LK_GUILD		= string.lower(GUILD);
LK_EMOTE		= string.lower(CHAT_MSG_EMOTE);
LK_WHISPER		= string.lower(WHISPER);
LK_TEST			= "test";

-- Output Messages
LK_TRANSLATE		= "Translated from secret code ";
LK_TRANSLATE_BLANK	= "Translated from no code: ";

LK_ADDON_PREFIX		= "LK_CHAT";

-- Help Text
LK_HELP1		= "All LysKitty functions can be used by typing "..LK_SLASH1.." <function> <text> or "..LK_SLASH2.." <function> <text>.";
LK_HELP2		= "All options need to be modified in the addon globals.lua file at this time.";
LK_HELP3		= "Functions:-";
LK_HELP4		= LK_GUILD.." - Send a message in guild chat.";
LK_HELP5		= LK_SAY.." - Send a message in say (Other users to get a translated version need to be in your guild or party)";
LK_HELP5		= LK_EMOTE.." - Sends the message as an emote, prefixed by your emote prefix (see config)";

--[[
Global Functions
]]

-- Function: Set the program variables.
function LKC_SetConfig()

	-- This is what gets tacked onto chat output.
	if (LK_PREFIX == nil) then
		LK_PREFIX	= "*Kitty*";
	end

	-- This is what gets tacked into an emote.
	if (LK_EMOTEPREFIX == nil) then
		LK_EMOTEPREFIX	= "'s Kitty goes,";
	end

	-- This is what is replaced in the "visual" output.
	if (LK_SUBS == nil) then
		LK_SUBS		= {
			[1]	= "meow",
			[2]	= "mweep",
			[3]	= "mrrr",
			[4]	= "mrewp",
			[5]	= "*purr*",
			[6]	= "mrow",
			[7]	= "mrp",
			};
	end

	-- Blank the secret codes
	if (LK_SECRET == nil) then
		LK_SECRET = {};
	end
end
